<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格边框</title>

    <style>
        table {
            width: 500px;
            height: 250px;
        }
        th {
            height: 40px;
        }
        table,
        td,
        th {
            border: 1px solid pink;
            /* 合并相邻的边框 */
            border-collapse: collapse;
            font-size: 14px;
            text-align: center;
        }
    </style>

</head>
<body>
    
    <table align="center" cellspacing="0">
        <thead>
            <tr>
                <th>排名</th>
                <th>关键词</th>
                <th>趋势</th>
                <th>进入搜索</th>
                <th>最近七天</th>
                <th>相关链接</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>关键词1</td>
                <td>上升</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a></td>
                <td>1000</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a> <a href="https://www.bilibili.com" target="_blank">哔哩哔哩</a></td>
            </tr>
            <tr>
                <td>1</td>
                <td>关键词1</td>
                <td>上升</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a></td>
                <td>1000</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a> <a href="https://www.bilibili.com" target="_blank">哔哩哔哩</a></td>
            </tr>
            <tr>
                <td>1</td>
                <td>关键词1</td>
                <td>上升</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a></td>
                <td>1000</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a> <a href="https://www.bilibili.com" target="_blank">哔哩哔哩</a></td>
            </tr>
            <tr>
                <td>1</td>
                <td>关键词1</td>
                <td>上升</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a></td>
                <td>1000</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a> <a href="https://www.bilibili.com" target="_blank">哔哩哔哩</a></td>
            </tr>
            <tr>
                <td>1</td>
                <td>关键词1</td>
                <td>上升</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a></td>
                <td>1000</td>
                <td><a href="https://www.baidu.com" target="_blank">百度</a> <a href="https://www.bilibili.com" target="_blank">哔哩哔哩</a></td>
            </tr>
        </tbody>
    </table>

</body>
</html>